/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.wms.entity.InventoryAdjustment;
import com.jeeplus.modules.wms.mapper.InventoryAdjustmentMapper;

/**
 * 库存调整Service
 * @author sld
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class InventoryAdjustmentService extends CrudService<InventoryAdjustmentMapper, InventoryAdjustment> {

	public InventoryAdjustment get(String id) {
		return super.get(id);
	}
	
	public List<InventoryAdjustment> findList(InventoryAdjustment inventoryAdjustment) {
		return super.findList(inventoryAdjustment);
	}
	
	public Page<InventoryAdjustment> findPage(Page<InventoryAdjustment> page, InventoryAdjustment inventoryAdjustment) {
		return super.findPage(page, inventoryAdjustment);
	}
	
	@Transactional(readOnly = false)
	public void save(InventoryAdjustment inventoryAdjustment) {
		super.save(inventoryAdjustment);
	}
	
	@Transactional(readOnly = false)
	public void delete(InventoryAdjustment inventoryAdjustment) {
		super.delete(inventoryAdjustment);
	}
	
}